package emby.err;

import emby.expr.Variable;

/**
 * A type of syntax error.
 * <br>
 * Variables whose name starts with "$" are read only and are a syntax
    error if found on the left hand side of an assignment statement.
    This is emby's version of constants or final.
    Their values can only be changed from inside java using the
    Scope.setVar method or the provided $def(varname, value). $def
    throws an error if varname was previously defined.
    Functions also cannot be defined with a name starting with $
 * @author Justin
 * @see Variable#isReadOnly()
 * @note Unimplemented in the parser
 */
public class RestrictedAccessSyntaxError extends SyntaxError{
	private static final long serialVersionUID = 3712259513100840935L;

	public RestrictedAccessSyntaxError(int i, String message) {
		super(i,message);
	}

}
